package com.crm.miaohe.exception;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 通用异常Response
 * status Http状态码
 * errors 异常详情 {@link ErrorResponse}
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CommonErrorResponse {
    private Long timestamp;
    private String path;
    private Integer status;
    private List<?> errors;
}
